package com.lianrui.commons;

import java.util.Map;

public class ResultView<T> {
	
	private boolean success = true;
	
	private int code;
	
	private String message;
	
	private T result;
	
	private Map<String, String> expands;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}

	public Map<String, String> getExpands() {
		return expands;
	}

	public void setExpands(Map<String, String> expands) {
		this.expands = expands;
	}
	
}
